package com.zenithsun.sys.domain.bo;

import com.zenithsun.common.base.bo.DataEntity;

import java.io.Serializable;

/**
 * @author karlwanghn
 * 登录用户实体
 * 只涉及登录信息
 */
public class SysUser extends DataEntity <SysUser> implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * 用户登录名
     */
    private String username;
    /**
     * 登录密码
     */
    private String password;
    /**
     * 盐 用于加密用
     */
    private String salt;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 用户头像
     */
    private String avatar;
    /**
     * 电话
     */
    private String phone;
    /**
     * 密码
     */
    private String email;
    /**
     *用户状态
     * 1.正常 2.锁定 3.删除 4.非法
     */
    private Byte status;
    public SysUser() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }
}
